Skip to content

Conversation

aharpervc
Copy link
Contributor

Reference: https://learn.microsoft.com/en-us/sql/t-sql/statements/create-view-transact-sql

This PR adds an or_alter field to the CreateView struct, which is false by default but true for CREATE OR ALTER. This syntax is used by SQL Server, but implemented here generically. There is a verified_stmt test added to the existing "create view" test, to assert this field round trips as expected.

@aharpervc aharpervc marked this pull request as ready for review April 21, 2025 19:12
Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @aharpervc!
cc @alamb

@iffyio iffyio merged commit 87d1907 into apache:main Apr 23, 2025
9 checks passed
@alamb
Copy link
Contributor

alamb commented Apr 28, 2025

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants